#判断段位 pan duan duan wei
score = int(input("score"))
if score > 10  and score <50 or score == 10:
    print("silver")
elif score >50 and score <80 or score == 50:
    print("gold")
elif score > 80 or score == 80:
    print("king")
else:
    print("bronze")